﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MvcMall.Core.Enums;

namespace MvcMall.Portal.Controllers.Account.ViewModels
{
    public class UserModel
    {
        /// <summary>
        /// 用户名
        /// </summary> 
        public string UserName { get; set; }

        /// <summary>
        /// 登录密码
        /// </summary> 
        public string Password { get; set; }

        /// <summary>
        /// 用户头像
        /// </summary> 
        public string UserHeaderImage { get; set; }

        /// <summary>
        /// 电子邮箱
        /// </summary> 
        public string Email { get; set; }

        /// <summary>
        /// 真实姓名
        /// </summary> 
        public string RealName { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public Sex Sex { get; set; }

        /// <summary>
        /// 生日
        /// </summary>
        public DateTime? Birthday { get; set; }

        /// <summary>
        /// 电话号码
        /// </summary> 
        public string Phone { get; set; }

        /// <summary>
        /// 手机号码
        /// </summary> 
        public string Mobile { get; set; }

        /// <summary>
        /// QQ号码
        /// </summary> 
        public string QQ { get; set; }

        /// <summary>
        /// 注册时间
        /// </summary> 
        public DateTime RegTime { get; set; }

        /// <summary>
        /// 是否邮箱验证
        /// </summary> 
        public bool EmailChecked { get; set; }

        /// <summary>
        /// 邮箱验证码
        /// </summary> 
        public string EmailCheckCode { get; set; }

        /// <summary>
        /// 是否实名验证
        /// </summary> 
        public bool RealNameChecked { get; set; }

        /// <summary>
        /// 是否锁定
        /// </summary>
        public virtual bool IsLocked { get; set; }

    }
}
